package com.gzy.rpsm_property.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@ApiModel("账单信息")
@Data
public class Amount {
    @ApiModelProperty("账单主键，唯一标识")
    private Integer amount_id;
    @ApiModelProperty("账单相关的业主")
    private Integer amount_roomid;
    @ApiModelProperty("账单类型，即费用类型的id主键")
    private Byte amount_type;
    @ApiModelProperty("生成账单的时间")
    private LocalDateTime amount_date;
    @ApiModelProperty(value = "需支付的费用，放大100 倍，避免浮点数的误差", dataType = "Integer")
    private Integer amount;
    @ApiModelProperty("账单支付被支付:1、已支付，2、未支付")
    private Integer isPaied;

    public Integer getAmount_id() {
        return amount_id;
    }

    public void setAmount_id(Integer amount_id) {
        this.amount_id = amount_id;
    }

    public Integer getAmount_roomid() {
        return amount_roomid;
    }

    public void setAmount_roomid(Integer amount_roomid) {
        this.amount_roomid = amount_roomid;
    }

    public Byte getAmount_type() {
        return amount_type;
    }

    public void setAmount_type(Byte amount_type) {
        this.amount_type = amount_type;
    }

    public LocalDateTime getAmount_date() {
        return amount_date;
    }

    public void setAmount_date(LocalDateTime amount_date) {
        this.amount_date = amount_date;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getIsPaied() {
        return isPaied;
    }

    public void setIsPaied(Integer isPaied) {
        this.isPaied = isPaied;
    }
}